Component({
  options:{
      // 是否使用全局样式类名
      addGlobalClass:true
  },
  properties:{
    playSate:Boolean,
    playMode:Number
  },
  methods:{
    playOrPause(){
      //子组件向父组件传值 将父组件中的播放状态改变
      this.triggerEvent("changeState")
    },
    changePlayMode(){
      this.triggerEvent("changePlayMode")
    },
    showPlayList(){
      this.triggerEvent('showPlayList')
    },
    next(){
      this.triggerEvent('next')
    },
    pre(){
      this.triggerEvent('pre')
    }
  }
})